package com.mxpio.erp.common.purchase.service;

import com.mxpio.erp.common.plan.entity.PurchasePlan;
import com.mxpio.erp.common.purchase.entity.BuyRequestOrder;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.system.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface BuyRequestOrderService extends BaseService<BuyRequestOrder> {
    @Transactional
    //从采购计划，转换为请购单
    Result<Object> convertBROFromPPlan(List<PurchasePlan> planList);

    void setPnInfo(BuyRequestOrder buyRequestOrder);
}
